from django.shortcuts import render
from rest_framework.generics import CreateAPIView
from rest_framework.permissions import AllowAny

from .serializers import MpUserLoginSerializer


# Create your views here.
class MPAuthUserView(CreateAPIView):
    authentication_classes = []
    permission_classes= [AllowAny]
    # 指定序列化器
    serializer_class = MpUserLoginSerializer
